package cn.glutnn.subject;

import cn.glutnn.subject.infra.basic.es.EsConfigProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * Author:   msh
 * Date:     2024/11/20 下午2:51
 * Description:
 */

@SpringBootApplication
@ComponentScan("cn.glutnn")
@MapperScan("cn.glutnn.**.mapper")
@EnableFeignClients(basePackages = "cn.glutnn")
@EnableConfigurationProperties({EsConfigProperties.class})
public class SubjectApplication {
    public static void main(String[] args) {
        SpringApplication.run(SubjectApplication.class, args);
    }
}
